package com.wangshb.upms.service;

import com.wangshb.upms.entity.UpmsUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Set;

public interface UpmsUserService extends IService<UpmsUser> {

        Page<UpmsUser> findPage(int pageNo, int pageSize, UpmsUser condition);


        List<UpmsUser> findList(Page<UpmsUser> page, UpmsUser condition);


        Long addUpmsUser(UpmsUser upmsUser);


        void delUpmsUser(UpmsUser upmsUser);


        void updateUpmsUserWithLock(UpmsUser upmsUser);


        UpmsUser findOne(UpmsUser upmsUser);


        void resetPassword(UpmsUser upmsUser);


        void batchDelUpmsUser(List<Long> idList);


        Set<String> findPermissions(String userAccount);

        Set<String> findRoles(String userAccount);
}
